<template>
<div class="header-box">
	<div class="header-left">
		<div class="iconfont">&#xe624;</div>
	</div>
	<div class="header-input">
		<span class="iconfont">&#xe632;</span>输入城市/景点/游玩主题
	</div>
	<div class="header-right">
		{{city}}
		<span class="iconfont icon1">&#xe6aa;</span>
	</div>
</div>
</template>

<script>
export default {
	name: 'HomeHeader',
	props:{
		city:String
	}
}
</script>

<style scoped>
	.header-box{
		width:100%;
		background-color:#00bcd4;
		height: .86rem;
		display: flex;
		color: #fff;
		line-height: .86rem;
	}
	.header-left{
		float: left;
		width: .34rem;
		text-align: center;
	}
	.header-input{
		flex: 1;
		background-color: #fff;
		border-radius: 3px;
		margin-top: .12rem;
		height: .62rem;
		color: #ccc;
		line-height: .62rem;
		padding-left: .12rem;
		margin-left: .12rem;
	}
	.header-right .icon1{
		margin-left: .04rem;
	}
</style>
